package com.hotline.communication.service.impl;


import com.hotline.communication.mapper.BlackInfoMapper;
import com.hotline.communication.dto.BlackInfoDTO;
import com.hotline.communication.service.BlackInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@Slf4j
public class BlackInfoServiceImpl implements BlackInfoService {

    @Resource
    private BlackInfoMapper blackInfoMapper;

    @Override
    public BlackInfoDTO selectByPhoneNumberAndOrgId(String phoneNumber, String orgId) {
        return blackInfoMapper.selectByPhoneNumberAndOrgId(phoneNumber,orgId);
    }
}
